<extend name="Public:base" />
<block name="content">
	<script type="text/javascript" src="Common/js/My97DatePicker/WdatePicker.js"></script>
	<style type="text/css">
		li{
			list-style: none;;
		}
		.mytable{
			display: none;
		}
		.mytable tr,.mytable td,.mytable table{
			border:1px solid gray;
			width:450px;
			height:50px;
			text-align: center;
		}
	</style>
	<div>
		<a href="{:U('Comment/Handled&role=master')}" class="btn btn-xs btn-info radius5 marginB10" >返回</a></div>
	<div class="table-responsive">
		<table class="table table-striped table-bordered table-hover" id="nav-table">
			<thead>
			<tr>
				<th>回访时间</th>
				<th>回访人</th>
				<th>回访记录</th>
				<th>处理结果</th>
			</tr>
			</thead>
			<tbody>
			<volist name="advise" id="vo">
				<input type="hidden" name="advise_id" value="{$vo.advise_id}"/>
				<input type="hidden" name="role" value="{:I('advise_id_user')}"/>
				<tr>
					<td>{$vo.add_time}</td>
					<td>{$vo.visitor}</td>
					<td>{$vo.record}</td>
					<td>{$vo.result}</td>
				</tr>
			</volist>
			<!--<tr>-->
			<!--<td colspan="20" class="page">{$page}</td>-->
			<!--</tr>-->
			</tbody>
		</table>
	</div>
</block>
<block name="javascript">
	<script>
		$(function(){

			$("#search").click(function () {
				var url = $(this).attr('url');
				var query = $('.search-form').find('input,select').serialize();
				query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g, '');
				query = query.replace(/^&/g, '');
				if (url.indexOf('?') > 0) {
					url += '&' + query;
				} else {
					url += '?' + query;
				}
				window.location.href = url;
			});

		});
	</script>
</block>